struct RadixTreeNode
{
	char c;
	bool color;
	struct RadixTreeNode * child[27];
};

typedef struct RadixTreeNode rNode;

class RadixTree
{
public:
	RadixTree()
	{
		root = new rNode;
		for(int i=0;i<27;i++)
			root->child[i] = NULL;
		root->color = false;
	}
	void AddWord(char *word);
	char* SearchWord();
	void WriteDisk();
	RadixTree ReadDisk();
private:
	rNode *root;
};